package whu.cn.whushare;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;

import whu.cn.whushare.SlipButton.OnChangedListener;

public class SlipButtonMain extends Activity {
	
	private SlipButton sButton;
	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.fragment_setting_password);
		
		sButton = (SlipButton) findViewById(R.id.slipButton);
		
		sButton.SetOnChangedListener(new OnChangedListener() {
			
			@Override
			public void OnChanged(boolean checkState) {
				 if(checkState){
			            Toast.makeText(SlipButtonMain.this, "", Toast.LENGTH_SHORT).show();
				 }else  {
			            Toast.makeText(SlipButtonMain.this, "", Toast.LENGTH_SHORT).show();
				 }
			}
		});
	}
}